package com.xj.common.bussiness.deviceImg.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备的照片表（如正前方，右后方）
 * </p>
 *
 * @author Hmemb
 * @since 2018-01-27
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("tb_device_img")
public class TbDeviceImg extends Model<TbDeviceImg> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 设备正前方照片
     */
	@TableField(value="device_front_img")
	private String deviceFrontImg;
    /**
     * 大架子号（设备出厂编号）
     */
	@TableField(value="big_shelf_num")
	private String bigShelfNum;
    /**
     * 设备左前照片
     */
	@TableField(value="device_front_lift_img")
	private String deviceFrontLiftImg;
    /**
     * 设备右前照片
     */
	@TableField(value="device_front_right_img")
	private String deviceFrontRightImg;
    /**
     * 设备左后照片
     */
	@TableField(value="device_lift_after_img")
	private String deviceLiftAfterImg;
    /**
     * 设备右后照片
     */
	@TableField(value="device_right_after_img")
	private String deviceRightAfterImg;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDeviceFrontImg() {
		return deviceFrontImg;
	}

	public void setDeviceFrontImg(String deviceFrontImg) {
		this.deviceFrontImg = deviceFrontImg;
	}

	public String getBigShelfNum() {
		return bigShelfNum;
	}

	public void setBigShelfNum(String bigShelfNum) {
		this.bigShelfNum = bigShelfNum;
	}

	public String getDeviceFrontLiftImg() {
		return deviceFrontLiftImg;
	}

	public void setDeviceFrontLiftImg(String deviceFrontLiftImg) {
		this.deviceFrontLiftImg = deviceFrontLiftImg;
	}

	public String getDeviceFrontRightImg() {
		return deviceFrontRightImg;
	}

	public void setDeviceFroutRightImg(String deviceFrontRightImg) {
		this.deviceFrontRightImg = deviceFrontRightImg;
	}

	public String getDeviceLiftAfterImg() {
		return deviceLiftAfterImg;
	}

	public void setDeviceLiftAfterImg(String deviceLiftAfterImg) {
		this.deviceLiftAfterImg = deviceLiftAfterImg;
	}

	public String getDeviceRightAfterImg() {
		return deviceRightAfterImg;
	}

	public void setDeviceRightAfterImg(String deviceRightAfterImg) {
		this.deviceRightAfterImg = deviceRightAfterImg;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TbDeviceImg{" +
			"id=" + id +
			", deviceFrontImg=" + deviceFrontImg +
			", bigShelfNum=" + bigShelfNum +
			", deviceFrontLiftImg=" + deviceFrontLiftImg +
			", deviceFrontRightImg=" + deviceFrontRightImg +
			", deviceLiftAfterImg=" + deviceLiftAfterImg +
			", deviceRightAfterImg=" + deviceRightAfterImg +
			"}";
	}
}
